import request from '@/utils/request'

// 查询日志查询表列表
export function listSystemEvents(query) {
  return request({
    url: '/system/SystemEvents/list',
    method: 'get',
    params: query
  })
}

// 查询日志查询表详细
export function getSystemEvents(ID) {
  return request({
    url: '/system/SystemEvents/' + ID,
    method: 'get'
  })
}

// 新增日志查询表
export function addSystemEvents(data) {
  return request({
    url: '/system/SystemEvents',
    method: 'post',
    data: data
  })
}

// 修改日志查询表
export function updateSystemEvents(data) {
  return request({
    url: '/system/SystemEvents',
    method: 'put',
    data: data
  })
}

// 删除日志查询表
export function delSystemEvents(ID) {
  return request({
    url: '/system/SystemEvents/' + ID,
    method: 'delete'
  })
}
